﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using Commonlib;
namespace DAL
{
   public class UnitDAL
    {
        public DataTable getUnit(string unitid)
        {
            string cmdstr = "select * from PriceUnit where ID="+unitid;
            return SqlHelper.ExecuteDataSet(SqlHelper.SqlConnectionString, CommandType.Text, cmdstr, null).Tables[0];
        }
    }
}
